package com.gqh.weather.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 学校创建请求DTO
 */
@Data
public class SchoolCreateRequest {

    @NotBlank(message = "学校名称不能为空")
    @Size(max = 100, message = "学校名称长度不能超过100位")
    private String name;

    private String contact;

    // @NotBlank(message = "password不能为空")
    // private String password;

    private String contact_mobile;

    // @NotBlank(message = "学段不能为空")
    // private String study_section;

    @NotBlank(message = "城市码不能为空")
    private String citycode;
}